﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Services;
using Volo.Abp.Guids;
using Volo.Abp.Timing;

namespace Baby.Shop.Application.Services
{
    /// <summary>
    /// 生成 code
    /// </summary>
    public abstract class ApplicationMyService : IApplicationService,ITransientDependency
    {
        /// <summary>
        /// 懒加载
        /// </summary>
        public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
        /// <summary>
        /// Code生成
        /// </summary>
        protected IGuidGenerator MyGuidGenerator => LazyServiceProvider.LazyGetService((IGuidGenerator)SimpleGuidGenerator.Instance);
    }
}
